<template>
    <div id="app">
        <div class="navigator">
            <navigator></navigator>
        </div>
        <div class="container">
            <header-bar></header-bar>

            <div class="content">
                <router-view></router-view>
            </div>
        </div>
    </div>
</template>

<script>
    import Navigator from '@/components/navigator/Navigator.vue';
    import HeaderBar from '@/components/header-bar/HeaderBar.vue';

    export default {
        components: {
            HeaderBar,
            Navigator,
        },
    };
</script>

<style lang="scss" scoped>
    #app {
        display: flex;
        flex-direction: row;
        background: #F0F2F5;

        .container {
            display: flex;
            flex-direction: column;
            width: 100%;

            .content {
                margin: 24px 28px 24px 24px;
                height: 100%;
            }
        }
    }
</style>
